package org.govhack.okcapital.model;

import java.io.Serializable;

/**
 * Represents a city
 * @author Josh Vote
 *
 */
public class City implements Serializable {
    /** Unique ID for this city*/
    private String cityId;
    /** Name of this city*/
    private String name;
    /** Coordinate reference system for x/y */
    private String crs;
    /** X-oordinate - spatial offset in the x direction (eg longitude) */
    private Double x;
    /** Y-oordinate - spatial offset in the y direction (eg latitude) */
    private Double y;
    
    
    /**
     * 
     * @param cityId Unique ID for this city
     * @param name Name of this city
     * @param crs Coordinate reference system for x/y
     * @param x X-oordinate - spatial offset in the x direction (eg longitude)
     * @param y Y-oordinate - spatial offset in the y direction (eg latitude)
     */
    public City(String cityId, String name, String crs, Double x, Double y) {
        super();
        this.cityId = cityId;
        this.name = name;
        this.crs = crs;
        this.x = x;
        this.y = y;
    }
    /**
     * Unique ID for this city
     * @return
     */
    public String getCityId() {
        return cityId;
    }
    /**
     * Unique ID for this city
     * @param cityId
     */
    public void setCityId(String cityId) {
        this.cityId = cityId;
    }
    /**
     * Name of this city
     * @return
     */
    public String getName() {
        return name;
    }
    /**
     * Name of this city
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }
    /**
     * Coordinate reference system for x/y
     * @return
     */
    public String getCrs() {
        return crs;
    }
    /**
     * Coordinate reference system for x/y
     * @param crs
     */
    public void setCrs(String crs) {
        this.crs = crs;
    }
    /**
     * X-oordinate - spatial offset in the x direction (eg longitude)
     * @return
     */
    public Double getX() {
        return x;
    }
    /**
     * X-oordinate - spatial offset in the x direction (eg longitude)
     * @param x
     */
    public void setX(Double x) {
        this.x = x;
    }
    /**
     * Y-oordinate - spatial offset in the y direction (eg latitude)
     * @return
     */
    public Double getY() {
        return y;
    }
    /**
     * Y-oordinate - spatial offset in the y direction (eg latitude)
     * @param y
     */
    public void setY(Double y) {
        this.y = y;
    }
    
    
    
}
